#ifndef __CFACTORY_H__
#define __CFACTORY_H__
#pragma once
#include "head.hpp"

extern struct sockaddr_in ser;
extern Zhuce login_msg;
void epoll_func(int epfd, int fd, int caozuo, int duxie);
void ssend(int *cFd, int epfd, Train_t *ptrain);
int recvCYL(int fd, void *pbuf, int len);
int one_recv(int fd, Train_t *ptrain);

#endif